<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/images/icon.png">

    <title>河海健康系统管理版</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <link href="/dashboard.css" rel="stylesheet">

</head>

<body >

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/teacher">河海健康管理系统<sup><small>&nbsp;&nbsp;教师版</small></sup></a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="/teacher">图表</a></li>
                <li><a href="#">设置</a></li>
                <li><a href="/logout">注销</a></li>
            </ul>
        </div>
    </div>
</nav>

<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <ul class="nav nav-sidebar">
                <li><a href="/teacher">概况 </a></li>
                <li class="active"><a href="/teacher/healthAnalyse">健康分析<span class="sr-only">(current)</span></a></li>
                <li><a href="#">个人中心</a></li>
                <li><a href="/teacher/QRCode">二维码生成</a></li>
            </ul>
        </div>
        <div class="col-sm-9 row container-fluid col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <div>
                <h1 th:text="${info}" class="lead"></h1>
                <div class="table-responsive">
                    <table class="table table-cell table-bordered table-responsive" style="background-color: white">
                        <thead>
                        <tr>
                            <th style="background-color: #ced6e0">进入时间</th>
                            <th style="background-color: #ced6e0">外出时间</th>
                            <th style="background-color: #ced6e0">早8点体温>37.3℃</th>
                            <th style="background-color: #ced6e0">晚6点体温>37.3℃</th>
                            <th style="background-color: #ced6e0">是否健康</th>
                            <th style="background-color: #ced6e0">是否新冠病例或疑似病例、无症状感染者</th>
                            <th style="background-color: #ced6e0">是否与确诊/疑似病例或无症状感染者密接?</th>
                            <th style="background-color: #ced6e0">是否在疫情严重地区停留或与该地区返乡未满14天人员密接?</th>
                            <th style="background-color: #ced6e0">是否与发热或呼吸道感染症状人员密接?</th>
                            <th style="background-color: #ced6e0">今日是否有海外旅居史?</th>
                            <th style="background-color: #ced6e0">今日是否接触过境外归国未满14天人员?</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr th:each="h:${history}">
                            <td th:text="${h.showInTime}"></td>
                            <td th:text="${h.showOutTime}"></td>
                            <td th:if="${h.isMT() == true}">是</td>
                            <td th:if="${h.isMT() == false}">否</td>
                            <td th:if="${h.isAT() == true}">是</td>
                            <td th:if="${h.isAT() == false}">否</td>
                            <td th:if="${h.isHealth() == true}">是</td>
                            <td th:if="${h.isHealth() != true}">否</td>
                            <td th:if="${h.isVictim() == true}">是</td>
                            <td th:if="${h.isVictim() != true}">否</td>
                            <td th:if="${h.isTouchVictim() == true}">是</td>
                            <td th:if="${h.isTouchVictim() != true}">否</td>
                            <td th:if="${h.isStayArea()} == true">是</td>
                            <td th:if="${h.isStayArea()} != true">否</td>
                            <td th:if="${h.isTouchFever()} == true">是</td>
                            <td th:if="${h.isTouchFever()} != true">否</td>
                            <td th:if="${h.isBoardHistory()} == true">是</td>
                            <td th:if="${h.isBoardHistory()} != true">否</td>
                            <td th:if="${h.isTouchForeigner() == true}">是</td>
                            <td th:if="${h.isTouchForeigner() != true}">否</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
